

const KEY = 'USER_TOKEN'

export const setToken = (token: string) => {
    return localStorage.setItem(KEY,token)
}

export const getToken = () => {
    return localStorage.getItem(KEY) || ''
}

export const removeToken = () => {
    localStorage.removeItem(KEY)
}